/*
 * $Id: CfgSchedulerTask.java,v 1.6 2009/07/24 18:27:41 oliver Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

/*
 * Created Thu Jan 15 08:35:57 CST 2009 by MyEclipse Hibernate Tool.
 */ 
package com.ge.healthcare.autosc.common.database.pojo;

import java.io.Serializable;

/**
 * A class that represents a row in the 'CFG_SCHEDULER_TASK' table. 
 * This class may be customized as it is never re-generated 
 * after being created.
 */
public class CfgSchedulerTask
    extends AbstractCfgSchedulerTask
    implements Serializable
{
    /**
	 * Eclipse generated
	 */
	private static final long serialVersionUID = 900279301415709934L;

	/**
     * Simple constructor of CfgSchedulerTask instances.
     */
    public CfgSchedulerTask()
    {
    }

    /**
     * Constructor of CfgSchedulerTask instances given a simple primary key.
     * @param schedulerTaskId
     */
    public CfgSchedulerTask(java.lang.Long schedulerTaskId)
    {
        super(schedulerTaskId);
    }

    /* Add customized code below */
    public String toString() {
    	StringBuffer msg = new StringBuffer();
    	msg.append("ID: " + this.getSchedulerTaskId());
    	msg.append(",Task Name: " + this.getTaskName());
    	msg.append(",Task Description: " + this.getTaskDescription());
    	msg.append(",Task Class: " + this.getTaskClass());
    	msg.append(",Run Interval in mses: " + this.getRunIntervalInMsec());
    	msg.append(",Maximum retry: " + this.getMaxRetry());
    	return msg.toString();
    }
}
